Skip to content

test(contracts): strengthen compatibility and regression coverage - #1697

Merged
SheyeJDev merged 3 commits into
Split-Naira:mainfrom
philipcocu1-cyber:test/contracts-compatibility-and-regression-coverage
Nov 23, 2026
Merged

SheyeJDev merged 3 commits into
Split-Naira:mainfrom
philipcocu1-cyber:test/contracts-compatibility-and-regression-coverage

Conversation

@philipcocu1-cyber

Copy link
Copy Markdown
Contributor

Summary

Strengthen contract-level regression coverage across project metadata serialization, storage compatibility, TTL renewal, and public event schemas.

This PR adds targeted tests and fixtures to ensure contract behavior remains reliable across edge cases, historical storage formats, and externally observable event structures.

Changes

  • Add tests for non-ASCII project metadata round trips to verify correct encoding, storage, and retrieval.
  • Cover TTL renewal across every public project read to ensure persistent data remains accessible.
  • Add compatibility fixtures for previously stored project records to protect against storage format regressions.
  • Introduce golden fixtures for public contract event schemas to detect unintended changes to event structure.

Testing

  • Verify non-ASCII metadata survives serialization and deserialization without corruption.
  • Assert TTL renewal behavior across all public project read paths.
  • Validate compatibility with prior project storage records using fixtures.
  • Compare emitted contract events against golden schema fixtures.

Issues Closed

Closes #1656
Closes #1652
Closes #1651
Closes #1654

@drips-wave

drips-wave Bot commented Nov 23, 2026

Copy link
Copy Markdown

@philipcocu1-cyber Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel

vercel Bot commented Nov 23, 2026

Copy link
Copy Markdown

@philipcocu1-cyber is attempting to deploy a commit to the mimijuwonlo-8913's projects Team on Vercel.

A member of the Team first needs to authorize it.

@SheyeJDev

Copy link
Copy Markdown
Contributor

LGTM

@SheyeJDev
SheyeJDev merged commit 4bd2117 into Split-Naira:main Nov 23, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants